<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 常量：一旦声明，值就不能再被修改
        // 常量名一般使用大写字母
        const PI = 3.14;
        // PI = 3.14159z6; // 报错  Assignment to constant variable.
        console.log(PI);

    </script>
</body>
</html>